home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / misc / dosform_fix.lha / dosformat / dosformat.doc < prev    next >
Text File  |  1994-10-09  |  3KB  |  87 lines

  1.                        
  2.                        Dosformat V1.0
  3.                        
  4.                              by
  5.                              
  6.                         Manfred Klier
  7.              <wizard@rbg.informatik.th-darmstadt.de>
  8.  
  9.  
  10.  
  11.  
  12. DISCLAIMER
  13. ~~~~~~~~~~
  14. This software is provided as-is. No warrenties whatsoever are
  15. given. The author accepts no responsibility for any damages that
  16. it may cause. Dosformat (and the source code) is Public Domain.
  17.  
  18.  
  19.  
  20. MOTIVATION
  21. ~~~~~~~~~~
  22. Are there several people fooling around on your AMIGA?? 
  23. You have installed MultiUser?? 
  24. Some of your users asked you, why they aren`t able to format their disks??
  25.  
  26. Here is the idea for solving this problem. Use some kind of formatting
  27. program which is only able to format floppy disks, like Olaf 'Olsen'
  28. Barthel's Formatter! But what about these non AMIGA-DOS formats like MSD*S
  29. or disks with 'DiskSpare.device' etc?
  30.  
  31. Simply use the 'format' command, but give these users who wants to reformat
  32. your HD some restrictions ;-).
  33.  
  34.  
  35.  
  36. REQUIREMENTS
  37. ~~~~~~~~~~~~
  38. MultiUserFileSystem Release 1.5 +. The MultiUser package is a shareware
  39. filesystem for multiple users, which is a copyright of Geert
  40. Uytterhoeven. It can be obtained through anonymeous FTP (AmiNet.)
  41.  
  42. While I am using GCC for compiling, you need at least ixemul.library V40+
  43. for running the included binary. (This may change in future)
  44.  
  45.  
  46.  
  47. DESCRIPTION
  48. ~~~~~~~~~~~
  49. 'Dosformat' is a filter which passes only 'allowed' arguments to the
  50. format-command. Normally on a MultiUser system the format-command is only
  51. available for 'root'. 'Dosformat' makes this command available to all
  52. users with the restriction, only formatting floppy disks. 
  53. The current Version supports MSD*S floppy disks only. But you can change this on
  54. your own demand. The syntax is:
  55.  
  56.     dosformat <unitnumber>
  57.  
  58. Where unitnumber is one of 0...3. This means you are able to format
  59. PC0: - PC3:. The source is written in ANSI-C except the function
  60. 'Execute()' which should be available on the most AMIGA C-compilers.
  61.  
  62.  
  63.  
  64. INSTALLATION
  65. ~~~~~~~~~~~~
  66. For security follow the steps described below:
  67.  
  68.  - copy 'dosformat' somewhere into your search path
  69.  - make sure that it is owned by 'root'
  70.  - set the protection bits: 
  71.  
  72.      mprotect dosformat urwed group re other re
  73.                         ^
  74.                    watch this!!!  
  75.  
  76.  - make sure that your format command is in the search path and can be read
  77.    and executed by 'root' only!!!
  78.  
  79.  
  80.  
  81. HISTORY
  82. ~~~~~~~
  83. First, I created .... oh sorry.
  84. Because this is a ten-minutes hack, there is no REAL history of this
  85. program.
  86.  
  87.